:end
@ECHO OFF
echo .
echo .
time /t
date /t
echo Checking World Server Leak (world.exe) By Cingka Nexia

systeminfo | findstr /c:"Page File: Available:" > totmem.out
for /f "tokens=4* delims=: " %%a in (totmem.out) do set TotalMem=%%a
set TotalMem=%TotalMem:.=%
tasklist /FI "IMAGENAME eq world.exe" 2>NUL | find /I /N "world.exe">NUL
if %ERRORLEVEL%==0 (if /i %Totalmem% LSS 356 (TASKKILL /F /IM "world.exe")
)
if %ERRORLEVEL%==1 (start world.exe)
PING 127.5.5.1 -n 180 -w 1000>nul

echo %Totalmem%
goto :end

